package com.fengye.usercenter.service.impl;

import com.fengye.api.dubbo.service.IUserService;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

/**
 * @author fengyexjtu@126.com
 * @since 2024-05-14
 */
@Service
public class UserServiceImpl implements IUserService {
    
    @Value("${user.name}")
    private String name;
    
    @Override
    public String getUsername() {
        return "usercenter " + name;
    }
}
